.menu-total {
  width: 70px;
  height: 100%;
  overflow-y: auto;
  background: #001529;
  font-size: @font-size-small;
  .et-flex-column-center();

  .logo {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    cursor: pointer;
    .et-flex-center();

    img {
      width: 32px;
    }
  }

  .menu-total-list {
    flex: 1;
    width: 70px;
    padding-bottom: 10px;
    overflow-y: auto;
    .et-flex-column-center();

    &::-webkit-scrollbar {
      display: none;
    }

    .menu-total-item {
      &:not(:first-child) {
        margin-top: 10px;
      }

      width: 60px;
      .et-flex-column-center();
      padding: 10px 0;
      background-color: transparent;
      border-radius: 5px;
      cursor: pointer;

      .icon {
        color: white;
        font-size: @font-size-large;
        margin-bottom: 8px;
      }

      .menu-title {
        color: white;
        line-height: calc($font-size + 3px);
        text-align: center;
      }

      &.actived {
        background-color: @primary-color;
      }
    }
  }
}

.menu-children {
  height: 100%;
  font-size: @font-size-small;
  border-right: 1px solid #eee;

  :global {
    .ant-layout-sider-children {
      width: 100%;
    }
  }

  background-color: white;

  .menu-children-container {
    width: 100%;
    height: 100%;

    &.hidden {
      opacity: 0;
    }

    &.show {
      transition: all 1s;
      opacity: 1;
    }

    .et-flex-column-center;

    .project-name {
      font-size: 20px;
      color: @heading-color;
      padding: 20px 0 10px;
    }

    .parent-name {
      padding: 0 0 10px;
    }
    .noMenu {
      color: @disabled-color;
      padding: 30px 0 10px;
    }
  }
}

.menuChild {
  width: 90% !important;
  background-color: white !important;
  flex: 1;
  padding-bottom: 10px;
  overflow-y: auto;

  &::-webkit-scrollbar {
    display: none;
  }

  :global {

    .ant-menu-item,
    .ant-menu-submenu-title {
      min-height: 40px;
      color: #626b7d;
      border-radius: 5px;
      margin-top: 4px !important;
      margin-bottom: 4px !important;
      font-size: @font-size-small;

      &:hover {
        color: #626b7d;
        background-color: #e8f4ff !important;
      }
    }

    .ant-menu-sub {
      background-color: transparent !important;
    }

    .ant-menu-submenu-arrow {

      &::before,
      &::after {
        background-color: #626b7d !important;
      }
    }

    .ant-menu-item-selected {
      span {
        color: @primary-color  !important;
      }

      background-color: #e8f4ff !important;
    }
  }
}

.menu {
  width: 100% !important;
  height: 100%;
  overflow-y: auto;

  :global {

    .ant-menu-item,
    .ant-menu-submenu-title {
      min-height: 40px;
    }

    .ant-menu-item-selected {
      background-color: @primary-color  !important;
    }
  }
}

.simpleScreenMenu {
  .logo {
    width: 100%;
    padding: 16px;
    flex-shrink: 0;
    cursor: pointer;
    .et-flex-center();
    flex-direction: column;
    img {
      width: 32px;
      margin-bottom: 12px;
    }
    span {
      font-size: 16px;
      color: white;
    }
  }
}